* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body, :global(#root) {
  height: 100%;
}
body{
  /* min-width: 1400px; */
  overflow-y: hidden;
}
/* 解决x6在新版本谷歌上节点宽度不适配问题 */
.x6-node foreignObject > body {
  display: contents; 
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-track-piece {
  background-color: #f5f5f5;
  border-radius: 10px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  /* -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); */
  background-color: #E3E4E6;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ccc;
}